package cn.steel.service;

import cn.steel.domain.entity.InventoryAnalysis;
import cn.steel.domain.entity.PriceTrendAnalysis;
import io.swagger.annotations.ApiOperation;

import java.util.List;
import java.util.Map;

public interface DashboardService {

    @ApiOperation("库存分析")
    Map<String, List<InventoryAnalysis>> getInventoryDataGroupedByCategory();

    @ApiOperation("按分类和区域分组的库存分析")
    List<InventoryAnalysis> getInventoryDataByCategoryAndRegion(Long categoryId);

    @ApiOperation("价格趋势分析")
    List<PriceTrendAnalysis> getPriceTrendsByCategory(Long categoryId);

}